package com.cdtye.shuoh.domain.product.vo;

import com.cdtye.common.mybatiscore.base.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ProductPropertiesVo extends BaseVo {
    @ApiModelProperty(value = "指示属性名称")
    private String name;

    @ApiModelProperty(value = "服务ID")
    private String serviceId;

    @ApiModelProperty(value = "指示数据类型。取值范围：string、int、decimal")
    private String datatype;

    @ApiModelProperty(value = "属性描述")
    private String description;

    @ApiModelProperty(value = "指示枚举值")
    private String enumlist;

    @ApiModelProperty(value = "指示最大值")
    private String max;

    @ApiModelProperty(value = "指示字符串长度")
    private String maxlength;

    @ApiModelProperty(value = "指示最小值")
    private String min;

    @ApiModelProperty(value = "指示访问模式。R:可读；W:可写；E属性值更改时上报数据取值范围：R、RW、RE、RWE")
    private String method;

    @ApiModelProperty(value = "指示本条属性是否必填，取值为0或1，默认取值1")
    private String required;

    @ApiModelProperty(value = "指示步长")
    private String step;

    @ApiModelProperty(value = "指示单位。取值根据参数确定，如：温度单位：“C”或“K”百分比单位：“%” 压强单位：“Pa”或“kPa”")
    private String unit;

}
